# Contributor: fossdd <fossdd@pwned.life>
# Maintainer: fossdd <fossdd@pwned.life>
pkgname=hare-unicode
pkgver=0_git20240416
_commit=c56f5d40afd5a5303707febe1cfd346d89dae7ae
pkgrel=0
pkgdesc="Hare unicode database"
url="https://git.sr.ht/~sircmpwn/hare-unicode"
arch="noarch !armhf !armv7 !ppc64le !s390x !x86 !loongarch64" # blocked by hare
license="MPL-2.0"
checkdepends="hare"
source="$pkgname-$_commit.tar.gz::https://git.sr.ht/~sircmpwn/hare-unicode/archive/$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit"

check() {
	hare test
}

package() {
	install -vdm755 "$pkgdir/usr/src/hare/third-party"
	cp -Rdv "unicode" "$pkgdir/usr/src/hare/third-party"
}

sha512sums="
1fe9e3adbf3daa79586ceb84068f146b395ee88ffbcf7605d58e884bd9c6987efa1c5877649dc8aa8bd0dfdd1852a5b028f85d37bf4597172f2589691af9dd46  hare-unicode-c56f5d40afd5a5303707febe1cfd346d89dae7ae.tar.gz
"
